package cn.com.nes.mybatis.agent.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户联系人信息表
 * @TableName customer_staff
 */
@TableName(value ="customer_staff")
@Data
public class CustomerStaff implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户id
     */
    @TableField(value = "customer_id")
    private String customerUuid;

    /**
     * 部门
     */
    @TableField(value = "department")
    private String department;

    /**
     * 职务
     */
    @TableField(value = "post")
    private String post;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 是否主要联系人 0-不是，1-是
     */
    @TableField(value = "is_main")
    private Integer isMain;

    /**
     * 微信
     */
    @TableField(value = "wechat")
    private String wechat;

    /**
     * 删除标识
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 创建人ID
     */
    @TableField(value = "gmt_create_id")
    private Long gmtCreateId;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改人ID
     */
    @TableField(value = "gmt_modified_id")
    private Long gmtModifiedId;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 身份证号
     */
    @TableField(value = "sfzh")
    private String sfzh;
    /**
     * 行政区划代码
     */
    @TableField(value = "xzqhdm")
    private String xzqhdm;
    /**
     * 是否是户主0不是1是
     */
    @TableField(value = "is_household")
    private Integer isHousehold;

}